﻿using AgencyManagerSystem.DataFetcher;
using AgencyManagerSystem.Model;


namespace AgencyManagerSystem.DataUpdater
{
    public class DimensionUpdater : MainDetailUpdater<DimensionModel,DimensionDocModel>
    {
        public DimensionUpdater(DimensionFetcher fetcher,DimensionDocFetcher dFetcher,MainDimensionUpdater updater) : base(fetcher,dFetcher,updater) { }
        public class MainDimensionUpdater : BaseUpdater<DimensionModel>
        {
            internal MainDimensionUpdater() : base(new DimensionFetcher()) { }
        }
        public static MainDimensionUpdater GetMainUpdater()
        {
            return new MainDimensionUpdater();
        }
    }
}

